package com.metacube.questionbank.model;

import java.sql.Date;

/*
 * @author Team Neeraj Jain
 * */
public class User {
	private int user_id;
	private String email;
	private String name;
	private String gender;
	private String password;
	private Date dob;
	private String about_me;
	private int rating;
	private int status;
	private byte[] image;

	/*
	 * This method returns the gender
	 * 
	 * @return gender gender of user
	 */
	public String getGender() {
		return gender;
	}

	/*
	 * @param gender gender of user This method sets the gender of user
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/*
	 * This method returns the image of user.
	 * 
	 * @return image image of user
	 */
	public byte[] getImage() {
		return image;
	}

	/*
	 * @param image image of user This method sets the image of user.
	 */
	public void setImage(byte[] image) {
		this.image = image;
	}

	/*
	 * This method returns the id of user.
	 * 
	 * @return user_id id of user
	 */
	public int getUser_id() {
		return user_id;
	}

	/*
	 * @param user_id id of user This method sets the id of user.
	 */
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	/*
	 * This method returns the mail.
	 * 
	 * @return email mail of user
	 */
	public String getEmail() {
		return email;
	}

	/*
	 * @param email mail id of user This method sets the id of user.
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/*
	 * This method returns the name of user
	 * 
	 * @return name name of user
	 */
	public String getName() {
		return name;
	}

	/*
	 * @param name name of user This method sets the name of user
	 */
	public void setName(String name) {
		this.name = name;
	}

	/*
	 * This method returns the password of user
	 * 
	 * @return password password of user.
	 */
	public String getPassword() {
		return password;
	}

	/*
	 * @param password password of userThis method sets the password of user
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/*
	 * This method returns the date of birth
	 * 
	 * @return dob date of birth of user
	 */
	public Date getDob() {
		return dob;
	}

	/*
	 * @param dob date of birth of user This method sets the date of birth of
	 * user
	 */
	public void setDob(Date dob) {
		this.dob = dob;
	}

	/*
	 * This method returns description about the user
	 * 
	 * @return about_me description about user.
	 */
	public String getAbout_me() {
		return about_me;
	}

	/*
	 * @param about_me description of user This method sets the description of
	 * user.
	 */
	public void setAbout_me(String about_me) {
		this.about_me = about_me;
	}

	/*
	 * This returns the rating of user.
	 * 
	 * @return rating rating of user
	 */
	public int getRating() {
		return rating;
	}

	/*
	 * @param rating rating of user This method sets the rating of user.
	 */
	public void setRating(int rating) {
		this.rating = rating;
	}

	/*
	 * This method returns the status of user account.
	 * 
	 * @return status status of user's account
	 */
	public int getStatus() {
		return status;
	}

	/*
	 * @param status status of user's account This method sets the status of
	 * user's account.
	 */
	public void setStatus(int status) {
		this.status = status;
	}
}
